package 获取随机数;

//获取100-200之间的随机数；

import java.util.Random;

public class test01 {
    public static void main(String[] args) {
        Random r = new Random();
        int num = r.nextInt(200 - 100 + 1) + 100;//(max-min+1)+min
        System.out.println(num);
    }

}
